package lzg.blog.common.enums;

/**
 * 是否
 */
enum IsYes {
    NO(0, "否"),
    YES(1, "是")
;
    private final int value;
    private final String desc;

    private IsYes(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
